﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.ComponentModel.Composition;

namespace WebFabricator.org.Composition
{
    /// <summary>
    /// defines an interface that gurantees a cla<Tss will return a useful object given a fabric context and some TypedContent
    /// </summary>
    //[InheritedExport(typeof(IResolver))]
    [InheritedExport]
    public interface IResolver<T> : IPublisherFactory, IDisposable
    {
        IResolveToContent Resolve(IWebFabric<T> fabric, IDynamicContent content);
    }
}
